package com.lb.design.pattern.facadepattern;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: liubin
 * Date: 2018-01-03
 * Time: 下午 2:53
 */
public class Test1 {

    public static void main(String[] args) {

        LetterProcess letterProcess = new LetterProcessImpl();

        letterProcess.writeLetter("我想你了");

        letterProcess.writeEnvelope("北京");

        letterProcess.putLetterIntoEnvlope();

        letterProcess.sendLetter();

        System.out.println("------------------");

        LetterOffice.sendLetterService("你想我么","深圳");



    }
}
